package com.gaotu.demo.mybatis.mapper;

import com.gaotu.demo.User;

public interface UserMapper {
    int insert(User record);

    int updateByPrimaryKey(User record);

    int deleteByPrimaryKey(Long id);

    User selectByPrimaryKey(Long id);

    User selectByName(String name);
}